Package com.cisco.pt.ipc.sim.pdu.impl
Class EIGRPv6InternalImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.EIGRPTlvImpl
com.cisco.pt.ipc.sim.pdu.impl.EIGRPv6InternalImpl
- All Implemented Interfaces:
IPCData,EIGRPTlv,EIGRPv6Internal,Pdu,Signal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected IPV6Addressprotected Byteprotected Byteprotected intprotected IPV6Addressprotected Byteprotected Byteprotected ShortFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.EIGRPTlvImpl
length, typeFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) intintgetDelay()getFieldType(String fieldName) getLoad()intgetMtu()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetBandwidth(int bandwidth) voidsetDelay(int delay) voidsetDestination(IPV6Address destination) voidsetHopcount(Byte hopcount) voidvoidsetMtu(int mtu) voidsetNextHop(IPV6Address nextHop) voidsetPrefixLength(Byte prefixLength) voidsetReliability(Byte reliability) voidsetReserved(Short reserved) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.EIGRPTlvImpl
getLength, getType, setLength, setTypeMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.EIGRPTlv
getLength, getType, setLength, setTypeMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
nextHop
-
delay
protected int delay -
bandwidth
protected int bandwidth -
mtu
protected int mtu -
hopcount
-
reliability
-
load
-
reserved
-
prefixLength
-
destination
-
-
Constructor Details
-
EIGRPv6InternalImpl
public EIGRPv6InternalImpl()
-
-
Method Details
-
getNextHop
- Specified by:
getNextHopin interfaceEIGRPv6Internal- Returns:
- IPV6Address Returns a IPV6Address
-
setNextHop
- Specified by:
setNextHopin interfaceEIGRPv6Internal- Parameters:
nextHop- Takes in a parameter of nextHop
-
getDelay
public int getDelay()- Specified by:
getDelayin interfaceEIGRPv6Internal- Returns:
- int Returns a int
-
setDelay
public void setDelay(int delay) - Specified by:
setDelayin interfaceEIGRPv6Internal- Parameters:
delay- Takes in a parameter of delay
-
getBandwidth
public int getBandwidth()- Specified by:
getBandwidthin interfaceEIGRPv6Internal- Returns:
- int Returns a int
-
setBandwidth
public void setBandwidth(int bandwidth) - Specified by:
setBandwidthin interfaceEIGRPv6Internal- Parameters:
bandwidth- Takes in a parameter of bandwidth
-
getMtu
public int getMtu()- Specified by:
getMtuin interfaceEIGRPv6Internal- Returns:
- int Returns a int
-
setMtu
public void setMtu(int mtu) - Specified by:
setMtuin interfaceEIGRPv6Internal- Parameters:
mtu- Takes in a parameter of mtu
-
getHopcount
- Specified by:
getHopcountin interfaceEIGRPv6Internal- Returns:
- Byte Returns a Byte
-
setHopcount
- Specified by:
setHopcountin interfaceEIGRPv6Internal- Parameters:
hopcount- Takes in a parameter of hopcount
-
getReliability
- Specified by:
getReliabilityin interfaceEIGRPv6Internal- Returns:
- Byte Returns a Byte
-
setReliability
- Specified by:
setReliabilityin interfaceEIGRPv6Internal- Parameters:
reliability- Takes in a parameter of reliability
-
getLoad
- Specified by:
getLoadin interfaceEIGRPv6Internal- Returns:
- Byte Returns a Byte
-
setLoad
- Specified by:
setLoadin interfaceEIGRPv6Internal- Parameters:
load- Takes in a parameter of load
-
getReserved
- Specified by:
getReservedin interfaceEIGRPv6Internal- Returns:
- Short Returns a Short
-
setReserved
- Specified by:
setReservedin interfaceEIGRPv6Internal- Parameters:
reserved- Takes in a parameter of reserved
-
getPrefixLength
- Specified by:
getPrefixLengthin interfaceEIGRPv6Internal- Returns:
- Byte Returns a Byte
-
setPrefixLength
- Specified by:
setPrefixLengthin interfaceEIGRPv6Internal- Parameters:
prefixLength- Takes in a parameter of prefixLength
-
getDestination
- Specified by:
getDestinationin interfaceEIGRPv6Internal- Returns:
- IPV6Address Returns a IPV6Address
-
setDestination
- Specified by:
setDestinationin interfaceEIGRPv6Internal- Parameters:
destination- Takes in a parameter of destination
-
getFieldType
- Overrides:
getFieldTypein classEIGRPTlvImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classEIGRPTlvImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classEIGRPTlvImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classEIGRPTlvImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classEIGRPTlvImpl
-